package com.atguigu.eduteacher.service;

import com.atguigu.eduteacher.javabean.EduCourse;
import com.atguigu.eduteacher.javabean.dto.CourseInfoDto;
import com.atguigu.eduteacher.javabean.dto.CoursePublishDto;
import com.atguigu.eduteacher.javabean.dto.CourseQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author author
 * @since 2024-11-21
 */
public interface IEduCourseService extends IService<EduCourse> {

    String saveCourseInfo(CourseInfoDto courseInfoDto);

    CourseInfoDto getCourseInfoById(String id);

    void updateCourseInfoById(CourseInfoDto courseInfoForm);

    CoursePublishDto getCoursePublishDtoById(String id);

    boolean publishCourseById(String id);

    void pageQuery(Page<EduCourse> pageParam, CourseQuery courseQuery);
}
